$(document).ready(function () {
    fcssy_form.onload();
})

var fcssy_form = (function () {

    var init = function () {
    	layui.use('form', function(){
			  var form = layui.form
		});
    }

    return {
        onload : function () {
            init();
            fcssy_form.dateShow();
        },
        saveForm:function(){
        	layui.use('layer', function(){
				var layer = layui.layer;
				layer.confirm('保存成功，是否维护应税明细信息？', {
				btn: ['确定', '取消'] //按钮
				}, function() {
					window.location.href='fcssyxx.html';
					
				}, function() {
					window.location.href='fcssy.html';
				})
			}); 
		},
        /*日期显示*/
        dateShow:function(){
        	layui.use('laydate', function(){
			  var laydate = layui.laydate;
			  laydate.render({
				    elem: '#wxl_date1'
				    ,theme: 'molv'
			 });
			})
        },
        query:function(){
			layui.use('layer', function() {
					var layer = layui.layer;
					layer.open({
						type: 1,
						id:'layer_open',
						skin: 'layui-layer-demo', //样式类名
						closeBtn: 1, //不显示关闭按钮
						anim: 2,
						title: '房屋所在土地信息',
						area: ['70%', '300px'],
						shadeClose: true, //开启遮罩关闭
						content: $('.wxl_cztdysxx_tdxx_box').html()
					});
			});
		}
    }
})();
